﻿<%@ Page Language="C#" %>


<script runat="server">

    protected void Page_Load(object sender, EventArgs e)
    {
        
        // Fetch Data
        //Intergr8.Data.DataManagement.DataSourceManager dsm = new Intergr8.Data.DataManagement.DataSourceManager();
        //System.Data.DataTable dt = dsm.Fetch("StaticData");
        //System.Data.DataTable dt = dsm.Fetch("SQLData");

        //Pick up the service request parameters.
        Intergr8.GoogleVisualization.RequestHandler reqHandler = new Intergr8.GoogleVisualization.RequestHandler(Request.QueryString);

        string jsonDataString = "";
        
        // Wrap up the data to return
        Intergr8.GoogleVisualization.IResponseData data = Intergr8.GoogleVisualization.ResponseData.GenerateResponse(jsonDataString);// new Intergr8.GoogleVisualization.ResponseData(dt);
        
        //
        Intergr8.GoogleVisualization.IResponseMessage responseMessage = Intergr8.GoogleVisualization.ResponseMessage.CreateResponse(reqHandler, data);
        
        Response.ContentType = "text/plain";
        Response.Charset = "UTF-8";

        Response.Write(responseMessage.Output());
         

    }

</script>


